function HandlePAssistantProject(gui, user, date, options, data) {
  this._gui = gui;
  this._user = user;
  this._date = date;
  this._options = options;
  this._data = data;
  this._popupBox = new ModulePopupBox();

  this._createElements();
};

HandlePAssistantProject.prototype._createElements = function() {
  var tr, td, _self = this;
  DOMUtils.removeTableRows(this._gui.mains, 1);

  if (this._data[0].data.length == 0) {
    tr = this._gui.mains.insertRow(-1);
    td = tr.insertCell(-1);
    td.colSpan = 4;
    td.style.height = '24px';
    td.style.textAlign = 'left';
    td.style.paddingLeft = '5px';
    td.appendChild(document.createTextNode('n/a'));
  }

  MiscUtils.sort(this._data[0].data, ['prearrange_date']);
  for(var i = 0, il = this._data[0].data.length; i < il; i++) {
    var task = this._data[0].data[i];
    tr = this._gui.mains.insertRow(-1);
    tr.style.backgroundColor = (tr.rowIndex % 2 == 0) ? '#ececec' : '#fff';
    
    td = tr.insertCell(-1);
    td.style.borderRight = 'solid 1px #bbb';
    td.style.height = '24px';
    td.style.textAlign = 'left';
    td.style.padding = '0 5px';
    td.appendChild(document.createTextNode((task.branch) ? task.branch : '-'));
    
    td = tr.insertCell(-1);
    td.style.borderRight = 'solid 1px #bbb';
    td.style.height = '24px';
    td.style.textAlign = 'left';
    td.style.padding = '0 5px';
    td.appendChild(document.createTextNode((task.customer_id != 0) ? PPublishUtils.customerId(task.customer_id) : '-'));
    
    td = tr.insertCell(-1);
    td.style.padding = '0 5px';
    td.style.borderRight = 'solid 1px #bbb';
    td.appendChild(document.createTextNode(SimpleDate.format(SimpleDate.fromStamp(task.prearrange_date))));
    
    td = tr.insertCell(-1);
    td.style.padding = '0 5px';
    td.style.borderRight = 'solid 1px #bbb';
    td.appendChild(document.createTextNode(PPublishUtils.branch(task)));
  }
};
